package com.jml.controller;


import com.jml.util.Member;
import com.jml.util.controller.AbstractBaseController;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class MemberRestController extends AbstractBaseController {

	@RequestMapping(value = "/memeber/add")
	public Object add(Member member){
		return true;
	}

	@RequestMapping(value = "/memeber/get")
	public Member get(long mid){
		Member member=new Member();
		member.setMid(mid);
		member.setName("jml");
		return member;
	}

	

}
